<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Simple Module <i>InetUnderlayConfigurator</i></h2>
<b>Package:</b> oversim.underlay.inetunderlay<br/><b>File: <a href="src-underlay-inetunderlay-InetUnderlayConfigurator.ned.html">src/underlay/inetunderlay/InetUnderlayConfigurator.ned</a></b><br/><p><a href="../doxy/classInetUnderlayConfigurator.html" target="mainframe"><b>C++ definition</b></a></p>

<p>Configurator of the IPv4Underlay</p>
<p>Sets up an IPv4Network (backbone and access routers), adds overlay nodes to
the network in init phase periodically with the interval set by
"initPhaseCreationInterval", adds/removes/migrates overlay nodes after init
phase according to the given churn model.</p>
<p><b>Author:</b> Markus Mauch</p>
<img src="oversim.underlay.inetunderlay.InetUnderlayConfigurator-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html" title="InetUnderlayConfigurator" alt="InetUnderlayConfigurator" coords="0,0,198,40">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.underlay.inetunderlay.InetUnderlayConfigurator-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html" title="Simple Module InetUnderlayConfigurator" alt="" coords="80,83,245,111">
<area shape="rect" id="node2" href="oversim.underlay.inetunderlay.InetUnderlayNetwork.html" title="Network InetUnderlayNetwork" alt="" coords="5,6,149,34">
<area shape="rect" id="node4" href="oversim.underlay.inetunderlay.InetUnderlayNetwork6.html" title="Network InetUnderlayNetwork6" alt="" coords="173,6,325,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.underlay.inetunderlay.InetUnderlayConfigurator-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html" title="Simple Module InetUnderlayConfigurator" alt="" coords="5,83,171,111">
<area shape="rect" id="node2" href="oversim.common.UnderlayConfigurator.html" title="Simple Module UnderlayConfigurator" alt="" coords="16,6,160,34">
</map>
<h3 class="subtitle">Extends:</h3>
<table>
<tr>
   <td>
      <a href="oversim.common.UnderlayConfigurator.html">UnderlayConfigurator</a>
      <i> (simple&nbsp;module)</i>
   </td>
   <td>

<p><a href="oversim.common.UnderlayConfigurator.html">UnderlayConfigurator</a> base module</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Networks:</h3>
<table>
<tr>
   <td>
      <a href="oversim.underlay.inetunderlay.InetUnderlayNetwork.html">InetUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html">InetUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.inetunderlay.InetUnderlayNetwork6.html">InetUnderlayNetwork6</a>
      <i> (network)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html">InetUnderlayConfigurator</a></p>
   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="inherited">
   <td width="150">terminalTypes</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>list of terminal types</p>
   </td>
</tr>
<tr class="inherited">
   <td width="150">churnGeneratorTypes</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>a list of churn generators to be used</p>
   </td>
</tr>
<tr class="inherited">
   <td width="150">transitionTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>time to wait before measuring after init phase is finished</p>
   </td>
</tr>
<tr class="inherited">
   <td width="150">measurementTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>duration of the simulation after init and transition phase</p>
   </td>
</tr>
<tr class="inherited">
   <td width="150">gracefulLeaveDelay</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>time between prekill and removal from overlay</p>
   </td>
</tr>
<tr class="inherited">
   <td width="150">gracefulLeaveProbability</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>probability of gracefull leave</p>
   </td>
</tr>
<tr class="local">
   <td width="150">startIPv4</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>IP configuration starts with this IP</p>
   </td>
</tr>
<tr class="local">
   <td width="150">startIPv6</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
   </td>
</tr>
<tr class="local">
   <td width="150">gatewayIP</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>IP of the gateway (if an outRouter is used)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">useIPv6Addresses</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=block/cogwheel</i></td>
   <td></td>
</tr>
<tr>
   <td width="150">class</td>
   <td width="100"><i>InetUnderlayConfigurator</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// Configurator of the IPv4Underlay
//
// Sets up an IPv4Network (backbone and access routers), adds overlay nodes to
// the network in init phase periodically with the interval set by
// &quot;initPhaseCreationInterval&quot;, adds/removes/migrates overlay nodes after init
// phase according to the given churn model.
//
// </span><span style="color: #000080; ">@author</span><span style="color: #808080; font-style: italic; "> Markus Mauch
//
</span><span style="color: #800000; font-weight: bold; ">simple</span><span style="color: #000000; "> </span><span style="color: #000000; ">InetUnderlayConfigurator</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">UnderlayConfigurator</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000000; font-weight: bold; ">@class</span><span style="color: #000000; ">(</span><span style="color: #000000; ">InetUnderlayConfigurator</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">startIPv4</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// IP configuration starts with this IP
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">startIPv6</span><span style="color: #000000; ">;
        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">gatewayIP</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// IP of the gateway (if an outRouter is used)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">bool</span><span style="color: #000000; "> </span><span style="color: #000000; ">useIPv6Addresses</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">false</span><span style="color: #000000; ">);
}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
